package com.itr.kbm.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

public class KoptelProduct {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6L;
	private String nik;
	private String nama;
	private double jumlah;
	private Date begda;
	private Date enda;
	private String keterangan;
	private String validate;
	private String kodeKoptelProduct;
	private String namaKoptelProduct;
	
	
	public KoptelProduct () {}
	
	// Koptel Product dan Merge Product
	public KoptelProduct(String nik, String nama, double jumlah, Date begda,
			Date enda, String keterangan, String validate,
			String kodeKoptelProduct, String namaKoptelProduct) {
		this.nik = nik;
		this.nama = nama;
		this.jumlah = jumlah;
		this.begda = begda;
		this.enda = enda;
		this.keterangan = keterangan;
		this.validate = validate;
		this.kodeKoptelProduct = kodeKoptelProduct;
		this.namaKoptelProduct = namaKoptelProduct;
	}

	// Compare Angsuran Tetap
	public KoptelProduct(String nik, Date begda, Date enda, double jumlah) {
		super();
		this.nik = nik;
		this.begda = begda;
		this.enda = enda;
		this.jumlah = jumlah;
	}

	// Compare Angsuran Lain Lain
	public KoptelProduct(String nik, Date begda, double jumlah) {
		super();
		this.nik = nik;
		this.begda = begda;
		this.jumlah = jumlah;		
	}

	public String getNik() {
		return nik;
	}

	public void setNik(String nik) {
		this.nik = nik;
	}

	public String getNama() {
		return nama;
	}

	public void setNama(String nama) {
		this.nama = nama;
	}

	public double getJumlah() {
		return jumlah;
	}

	public void setJumlah(double jumlah) {
		this.jumlah = jumlah;
	}

	public Date getBegda() {
		return begda;
	}

	public void setBegda(Date begda) {
		this.begda = begda;
	}

	public Date getEnda() {
		return enda;
	}

	public void setEnda(Date enda) {
		this.enda = enda;
	}

	public String getKeterangan() {
		return keterangan;
	}

	public void setKeterangan(String keterangan) {
		this.keterangan = keterangan;
	}

	public String getValidate() {
		return validate;
	}

	public void setValidate(String validate) {
		this.validate = validate;
	}

	public String getKodeKoptelProduct() {
		return kodeKoptelProduct;
	}

	public void setKodeKoptelProduct(String kodeKoptelProduct) {
		this.kodeKoptelProduct = kodeKoptelProduct;
	}

	public String getNamaKoptelProduct() {
		return namaKoptelProduct;
	}

	public void setNamaKoptelProduct(String namaKoptelProduct) {
		this.namaKoptelProduct = namaKoptelProduct;
	}
	
	
	
	
	
}
